package com.yeyks.common.param.hotel;

import com.yeyks.common.annotation.StrNotEmpty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author shuai
 * @date 2019/12/24 17:16
 */
@Data
public class RecommendHotelAddParam implements Serializable {
    private static final long serialVersionUID = -2548774608825091798L;
    @NotNull(message = "酒店id不能为空")
    @ApiModelProperty(value = "酒店id")
    private Integer hotelId;

    @StrNotEmpty(message = "推荐图片不能为空")
    @ApiModelProperty(value = "推荐图片")
    private String image;

    @NotNull(message = "推荐城市id不能为空")
    @ApiModelProperty(value = "推荐城市id")
    private Integer cityId;

    @NotNull(message = "展示价格不能为空")
    @ApiModelProperty(value = "展示价格")
    private Integer salePrice;

    @NotNull(message = "vip支付价不能为空")
    @ApiModelProperty(value = "vip支付价")
    private Integer payPrice;

    @StrNotEmpty(message = "推荐内容不能为空")
    @ApiModelProperty(value = "推荐内容")
    private String content;
}
